/*
 * Exploder
 * 
 * Tero Pyylampi (218437), Jussi Tuurinkoski (211594)
 *
 * Wooden border for the game to protect and serve
 */

#ifndef GAMEBORDERWOOD_H
#define GAMEBORDERWOOD_H


#include "GameBorder.h"

class GameCamera;

class GameBorderWood : public GameBorder {
public:
	// default constructor
	GameBorderWood( b2World *world, cocos2d::CCLayer *layer, GameCamera *camera, b2Vec2 worldPos );
	// default destructor
	virtual ~GameBorderWood();

	// default update function
	virtual void update( cocos2d::ccTime dt );

	// object takes damage as a result of a collision
	virtual void takeDamage( float damage, b2Body *bodyTakingDamage );
	// break and remove object
	virtual void breakObject();
	// change to broken sprite
	virtual void changeToBrokenSprite();

	// get the main type of the object
	virtual PhysicObjectItems getObjectType();

protected:
	
};

#endif